import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';

export class BackupDto {
  @ApiProperty({ example: 'init' })
  @IsNotEmpty()
  file?: string;
}
export class dBackupDto {
  @ApiProperty({ example: '20231103095243', description: '恢复数据的时间戳' })
  @IsNotEmpty()
  file: string;
}
export class systemDto {
  data: Array<[string]>;
  // data: object;
}
